package org.zstack.header.vm;

import org.zstack.header.message.NeedReplyMessage;

import java.util.List;

public class StartNewCreatedVmInstanceMsg extends NeedReplyMessage implements VmInstanceMessage {
    private VmInstanceInventory vmInstanceInventory;
    private List<String> l3NetworkUuids;
    private List<String> dataDiskOfferingUuids;
    private String rootDiskOfferingUuid;
    
    public VmInstanceInventory getVmInstanceInventory() {
        return vmInstanceInventory;
    }

    public void setVmInstanceInventory(VmInstanceInventory vmInstanceInventory) {
        this.vmInstanceInventory = vmInstanceInventory;
    }

    public List<String> getL3NetworkUuids() {
		return l3NetworkUuids;
	}

	public void setL3NetworkUuids(List<String> l3NetworkUuids) {
		this.l3NetworkUuids = l3NetworkUuids;
	}

	public List<String> getDataDiskOfferingUuids() {
		return dataDiskOfferingUuids;
	}

	public void setDataDiskOfferingUuids(List<String> dataDiskOfferingUuids) {
		this.dataDiskOfferingUuids = dataDiskOfferingUuids;
	}

	public String getRootDiskOfferingUuid() {
        return rootDiskOfferingUuid;
    }

    public void setRootDiskOfferingUuid(String rootDiskOfferingUuid) {
        this.rootDiskOfferingUuid = rootDiskOfferingUuid;
    }

    @Override
    public String getVmInstanceUuid() {
        return getVmInstanceInventory().getUuid();
    }
}
